//
//  OneAuthorizeCodeModel.h
//  lTTheOne
//
//  Created by sy on 2025/7/26.
//

#import <Foundation/Foundation.h>

static NSString * _Nonnull const AuthorizeCodeTableName = @"OneAuthorizeCodeTableName";
typedef NS_ENUM(NSInteger,authorizeCode) {
    chatCode,
    momentCode,
    homeCode,
    learningCode,
    workingCode,
    fitnessCode,
    partyCode,
    travelCode
};
typedef NS_ENUM(NSInteger,authorizeState) {
    checkCode,//验证
    setCode//设置
};

NS_ASSUME_NONNULL_BEGIN

@interface OneAuthorizeCodeModel : NSObject
///必须设置账号
@property (nonatomic,copy) NSString *account;
/** 聊天授权码*/
@property (nonatomic,copy) NSString *chat_pwd;
/** 动态授权码*/
@property (nonatomic,copy) NSString *moment_pwd;

/** 居家模式授权码*/
@property (nonatomic,copy) NSString * home_pwd;
/** 学习模式授权码*/
@property (nonatomic,copy) NSString * learning_pwd;
/** 工作模式授权码*/
@property (nonatomic,copy) NSString * working_pwd;
/** 健身模式授权码*/
@property (nonatomic,copy) NSString * fitness_pwd;
/** 聚会模式授权码*/
@property (nonatomic,copy) NSString * party_pwd;
/** 旅行模式授权码*/
@property (nonatomic,copy) NSString * travel_pwd;

@end

@interface OneAuthorizeConfigModel : NSObject
- (instancetype)initWithAuthorizeCode:(authorizeCode)codeType;

@property (nonatomic,assign) authorizeCode codeType;

@property (nonatomic,copy) NSString *title_ch;
@property (nonatomic,copy) NSString *title_en;

@property (nonatomic,copy) NSString *desc_ch;
@property (nonatomic,copy) NSString *desc_en;

@property (nonatomic,copy) NSString *setCode_ch;
@property (nonatomic,copy) NSString *setCode_en;

@property (nonatomic,copy) NSString *checkCode_ch;
@property (nonatomic,copy) NSString *checkCode_en;

@property (nonatomic,copy) NSString *placeHoldStr;

@end


NS_ASSUME_NONNULL_END
